package entity;

import org.omg.PortableInterceptor.ServerRequestInfo;

/**
 * Created by Jackie on 2017/10/16.
 */

public class Student{

    public String student_id;

    public int major_id;

    public int sex;

    public String password;

    public String name;

    public String icon_location;

    public String motto;

    public void setMotto(String motto) {
        this.motto = motto;
    }

    public void setStudent_id(String student_id) {
        this.student_id = student_id;
    }

    public void setMajor_id(int major_id) {
        this.major_id = major_id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setIcon_location(String icon_location) {
        this.icon_location = icon_location;
    }

    @Override
    public String toString() {
        System.out.println(student_id + " " + major_id + " " + name + " " + sex + " " + password + " " + icon_location);
        return student_id + " " + major_id + " " + name + " " + sex + " " + password + " " + icon_location;
    }
}
